﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using fuzhu;
using LH.Model.PU;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using NETCore.MailKit.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Org.BouncyCastle.Ocsp;
using XXX.Bo;
using XXX.Common;
using XXX.Models;
using XXX.Models.WMS;
using Yonyou.U8.BO;

// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860

namespace XXX.api.Controllers
{

 
    /// <summary>
    ///读取条码信息
    /// </summary>
    [Route("api/wms/[controller]")]
        [ApiController]
        //[Authorize]
        public class ST_VouchDeleteController : ControllerBase
        {
        private readonly ILogger<ST_VouchDeleteController> _logger;
        private readonly WMS_BARCODEVM _wmsbarcodeVM; 

            public ST_VouchDeleteController(ILogger<ST_VouchDeleteController> logger, WMS_BARCODEVM wmsbarcodeVM)
            {
                //_invRepository = xxxRepository;
                _logger = logger;
            _wmsbarcodeVM = wmsbarcodeVM;
        }

        [HttpGet]
        public Models.RetModel2 Get(string cVouchType, string parentid)
        {
            return _wmsbarcodeVM.ChangeBarcodestate_Del(cVouchType,parentid);
          
        }
        
    }
















}
